﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="brand_add.aspx.cs" Inherits="WebSite.admin.product.brand_add" %>

<%@ Register Src="../languages.ascx" TagName="head" TagPrefix="uc1" %>
 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>上海万礼通网络科技后台管理系统</title>
    <link href="../main.css" rel="stylesheet" type="text/css" />
    <script language="javascript">
        parent.maintitle.innerHTML = "商品管理";
        parent.contentmain.innerHTML = "<span class='title01'>所在位置：</span>添加品牌。"
    </script>
    <script language='javascript'>
        var path = (window.top.location).toString();
        if (path.indexOf('login.aspx') == -1) {
            if (path.indexOf('index.aspx') == -1) {
                window.top.location = 'index.aspx';
            }
        }
	</script>
	<script language="JavaScript" src="../../js/function.js"></script>
    <script language="javascript">
        function CheckFrm() {
            var obj = 'pinpainame';
            var objt = '1';
            var msg = '品牌名称';
            var chks = chk(form1, obj, objt, msg)
            if (!chks) {
                return false;
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <center>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F1F4F7">
<tr>
<td height="382" align="center" valign="top">
  <br />
   <table width="90%" border="0" cellpadding="0" cellspacing="0">
    <tr id="cn" style="display:" runat="server">
      <td width="17%" align="right" class="title01">品牌名称&nbsp;</td>
      <td width="83%" align="left"><input name="pinpainame" id="pinpainame" runat="server" />*</td>
    </tr>
    
    <tr style="display:none">
      <td align="right" class="title01">品牌网址&nbsp;</td>
      <td align="left"><input size="40" name="pinpaiurl" id="pinpaiurl" runat="server" value="http://" />(必须有http://)</td>
    </tr>
    <tr  style="display:none">
      <td align="right" class="title01">品牌LOGO&nbsp;</td>
      <td align="left"><asp:TextBox ID="pinpailogo" runat="server"></asp:TextBox>
                    <input id="file1" type="file" runat="server" /><asp:Button ID="Button1" runat="server" Text="上传" OnClick="Button1_Click" /></td>
    </tr  style="display:none">
    <tr id="cnco" style="display:;" runat="server">
      <td align="right" class="title01">品牌描述&nbsp;</td>
      <td align="left"><asp:TextBox ID="pinpaicontent" runat="server" Height="126px" TextMode="MultiLine" Width="386px"></asp:TextBox></td>
    </tr>
    <tr  style="display:none">
      <td align="right" class="title01">排序&nbsp;</td>
      <td align="left"><input size="15" value="0" name="pinpaiorder" id="pinpaiorder" runat="server" /></td>
    </tr>
    <tr  style="display:none">
      <td align="right" class="title01">是否显示&nbsp;</td>
      <td align="left"> <asp:CheckBox ID="CheckBox1" runat="server" Checked="true" />(当品牌下还没有商品的时候，首页及分类页的品牌区将不会显示该品牌。) </td>
    </tr>
    <tr  style="display:none">
      <td align="right" class="title01">是否推荐&nbsp;</td>
      <td align="left"> <asp:CheckBox ID="CheckBox2" runat="server" />(推荐的品牌在首页显示。) </td>
    </tr>
    <tr>
      <td height="40" colspan="2" align="middle"><asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="../images/buttom-02.gif" OnClick="ImageButton1_Click" />
       <a href="javascript:form1.reset();"><img src="../images/button03.gif" border="0" /></a></td>
    </tr>
  </table></td>
</tr>
</table>
</center>
    </div>
    </form>
</body>
</html>
